package com.yr.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "nacos")
public class cloudconfig {
    private String config;

    // getters and setters
    public String getConfig() {
        return config;
    }
    public void setConfig(String config) {
        this.config= config;
    }
}
